package com.bah.tract.client.ui.menu;

import java.awt.MenuItem;
import java.awt.PopupMenu;

import com.google.inject.Inject;
import com.google.inject.name.Named;

public class TRACTMenu extends PopupMenu {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	@Inject
	TRACTMenu(@Named("timeCardItem") final MenuItem timeCardMenuItem,
			@Named("reminderItem") final MenuItem reminderItem,
			@Named("preferencesItem") final MenuItem preferencesItem,
			@Named("submitItem") final MenuItem submitTimeItem) {
		add(submitTimeItem);
		add(timeCardMenuItem);
		addSeparator();
		add(preferencesItem);
		add(reminderItem);
		addSeparator();
		add(new HelpMenuItem());
		add(new ExitMenuItem());
	}

}
